home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1995 October / EnigmA AMIGA RUN 01 (1995)(G.R. Edizioni)(IT)[!][issue 1995-10][Aminet 7].iso / Aminet / comm / mail / AmigaElm_v7.lha / c / DecryptMsg < prev    next >
AmigaDOS Script File  |  1995-05-27  |  578b  |  22 lines

  1. .KEY cryptfile/A
  2. .BRA [
  3. .KET ]
  4.  
  5. ;
  6. ; Original by Peter Simons <simons@peti.gun.de>
  7. ; Modified by Ignatios Souvatzis <is@beverly.rhein.de> to be able to
  8. ; ask for passphrases etc.
  9. ; this version actually succeeds to open on Elm's screen
  10. ; $VER: DecryptMsg <is@beverly.rhein.de> 1.4 (10-Apr-95)
  11. ;
  12. ; do something with the message, e.g. decrypt it, and redirect
  13. ; input/output to actual screen (Elm's screen) for passwort prompts etc.
  14. ;
  15.  
  16. Set pubscreen "`getactscreen`"
  17. PGP -m "[cryptfile]" <>"CON:///200/PGP-IO-Window/CLOSE/WAIT/AUTO/SCREEN${pubscreen}"
  18. UnSet pubscreen
  19.  
  20. ;
  21. ; bye,bye
  22.